cmake_minimum_required(VERSION 2.8)
 
PROJECT(MultipleRenderWindows)
 
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
 
add_executable(MultipleRenderWindows MACOSX_BUNDLE MultipleRenderWindows)
 
if(VTK_LIBRARIES)
  target_link_libraries(MultipleRenderWindows ${VTK_LIBRARIES})
else()
  target_link_libraries(MultipleRenderWindows vtkHybrid vtkWidgets)
endif()
